home *** CD-ROM | disk | FTP | other *** search
/ New Masters of Flash / New Masters of Flash.iso / pc / MOVIES / 06.dir / 00078_Text_78.txt < prev    next >
Text File  |  2000-10-01  |  603b  |  7 lines

  1. Because I made it possible for the user to launch a window from the main interface, logic said that I had to let them close it. I had to embed into the movie clip a button which triggers a shutdown of the panel. For the 2advanced windows I designed a single square in the right-hand corner to serve as the close trigger. Still in the .swf file of the externally loading movie, I had to insert the button within the timeline of the movie clip. I added an action to this button under its Instance Properties:
  2.  
  3. On (Press)
  4.   Begin Tell Target (ΓÇ£/level1ΓÇ¥)
  5.     Unload Movie (4)
  6.   End Tell Target
  7. End